import axios from 'axios';

/**
 * 根据媒体id获取图片字节(Base64)
 */
function getByte(data) {
  return axios.get('attachment/v1/media/byte?', {params: data})
}

export default {
  getByte
};
